// 配置文件
var mode = 'production';   // 线上： 'production' 开发： 'development'

const host = mode === 'production' ? "uat.mumway.com" : "dev.mumway.com";
const hostUrl = `https://${host}`; 
const appid = '';
const appkey = '';
const resumeMiniAppId = 'wx12e6302d9afff0dc';
const resumegMiniAppEnvVersion = 'release';  //打开开发版： develop，体验版： trial ， 正式版： release
const resumeMiniAppUrl = 'pages/editAuntMsg/main';
const expires = 6 * 60 * 60 * 1000;  //token过期时间为毫秒
const config = {
  host,
  hostUrl,
  appid,
  appkey,
  resumeMiniAppId,
  resumegMiniAppEnvVersion,
  resumeMiniAppUrl,
  expires,
  checkTokenUrl: `${hostUrl}/applet/information/houseworker/check_token`,
  getAuntDetailUrl: `${hostUrl}/applet/information/house_api/detail`,
  getAuntListUrl: `${hostUrl}/applet/information/house_api/getuserlist`,
  editStatusUrl: `${hostUrl}/applet/information/houseworker/actionstatus`,
  submitFreeTimeUrl: `${hostUrl}/applet/information/houseworker/operation`,
  delStatusUrl: `${hostUrl}/applet/information/houseworker/neutraldel`,
  addFreeTimeUrl: `${hostUrl}/applet/information/houseworker/neutral_operation`,
  getqrcode: `${hostUrl}/applet/information/houseworker/getqrcode`, 
  getFiltersUrl: `${hostUrl}/applet/information/house_api/getsearch`, 
  getExtraDataUrl: `${hostUrl}/applet/information/house_api/getworktype`, 
  editLabelUrl: `${hostUrl}/applet/information/houseworker/actionlabel`, 
  loginUrl: `${hostUrl}/applet/login/login`
}

export default config;